﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Support.Models.Entities
{
    public class Sys_User
    {
        public long Id { get; set; }
        public long UserId { get; set; }

        public long DeptId { get; set; }
        public string UserName { get; set; }
        public string Pwd { get; set; }
        /// <summary>
        /// 角色集合
        /// </summary>
        [NotMapped]
        public List<string> RoleIds { get; set; } = new List<string>();
        /// <summary>
        /// 权限集合
        /// </summary>
        [NotMapped]
        public List<string> Permissions { get; set; } = new List<string>(); 
    }
}
